# -*- coding:GBK -*-

import flashui

hello_panel = None

class CHelloMovie(object):
	def __init__(self):
		self.now_test = None

	def show(self):
		pass

	def close(self):
		pass

	def startScene(self):
		if self.now_test:
			self.now_test.destroy()
		m = __import__("fish_scene")
		if m:
			m.start()
			self.movie.invoke("setTitle", "Test!")
			self.now_test = m

def start():
	global hello_panel
	hello_panel = CHelloMovie()
	#hello_panel.show()
	hello_panel.startScene()
	
def startScene():
	hello_panel.startScene()

def exit_hello():
	hello_panel.close()
	import hello_init
	hello_init.on_close(None)